package org.dtrd.modules.drug.entity.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Set;

/**
 * @author qr
 * @date 2021/12/3 09:32
 */
@ApiModel("药品分页请求")
@Getter
@Setter
public class DrugPageRequest {

    @ApiModelProperty(value = "分类id", required = true, example = "1")
    private Integer categoryId;

    @ApiModelProperty(value = "页数", notes = "默认为1", example = "1")
    private Integer page;

    @ApiModelProperty(value = "页数据量", notes = "默认为20", example = "20")
    private Integer pageSize;

    @ApiModelProperty(value = "药品名称", notes = "模糊搜索", example = "硫酸氢氯吡格雷片(波立维)")
    private String drugName;

    @ApiModelProperty(value = "适应症", notes = "就是此药适用于。。。的, 模糊搜索")
    private String drugIndication;

    private Set<Integer> drugLabel;
}
